import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
// 引入user模块
import user from './modules/user'
// 引入getters
import getters from './getters'
import shop from './modules/shop'
export default new Vuex.Store({
  getters,
  // 注册模块
  modules:{
    user,
    shop
  }
})
